-- GENERATED SPELL FOR [Mistwhisper Warrior] --


function spell0_28109(pUnit, Event) --@Flip Attack,n/a--
pUnit:FullCastSpellOnTarget(50533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28109', 615, 1)
end

function Sorts_28109(pUnit, Event)
local choix_sorts_28109 = math.random(0, 0)
if choix_sorts_28109 == 0 then
pUnit:RegisterEvent('spell0_28109', 1, 1)
end
end

function mob28109_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28109', math.random(1500, 3000), 1)
end

function mob28109_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28109_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28109_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28109, 1, 'mob28109_Action')
RegisterUnitEvent(28109, 2, 'mob28109_Leave')
RegisterUnitEvent(28109, 3, 'mob28109_Kill')
RegisterUnitEvent(28109, 4, 'mob28109_Die')
